package com.rankeiot.core.excel;

import java.util.HashMap;
import java.util.Map;

public class DataRow extends HashMap<Integer, Object> {
    private int rowNum;

    private HashMap<Integer, String> links = new HashMap<>();

    public DataRow(int initialCapacity) {
        super(initialCapacity);
    }

    public DataRow() {
    }

    public void putLink(Integer col, String value) {
        links.put(col, value);
    }

    public String getLink(Integer col) {
        return links.get(col);
    }

    public DataRow(Map<? extends Integer, ?> m) {
        super(m);
    }

    public int getRowNum() {
        return rowNum;
    }

    public void setRowNum(int rowNum) {
        this.rowNum = rowNum;
    }
}
